package com.dc.gameserver.serverCore.model.dbsql.modelVo;

import java.util.ArrayList;
import java.util.List;

public class TRoleBookExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer limitStart;

    protected Integer limitEnd;

    public TRoleBookExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(Integer limitStart) {
        this.limitStart=limitStart;
    }

    public Integer getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(Integer limitEnd) {
        this.limitEnd=limitEnd;
    }

    public Integer getLimitEnd() {
        return limitEnd;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andBookidIsNull() {
            addCriterion("BOOKID is null");
            return (Criteria) this;
        }

        public Criteria andBookidIsNotNull() {
            addCriterion("BOOKID is not null");
            return (Criteria) this;
        }

        public Criteria andBookidEqualTo(Integer value) {
            addCriterion("BOOKID =", value, "bookid");
            return (Criteria) this;
        }

        public Criteria andBookidNotEqualTo(Integer value) {
            addCriterion("BOOKID <>", value, "bookid");
            return (Criteria) this;
        }

        public Criteria andBookidGreaterThan(Integer value) {
            addCriterion("BOOKID >", value, "bookid");
            return (Criteria) this;
        }

        public Criteria andBookidGreaterThanOrEqualTo(Integer value) {
            addCriterion("BOOKID >=", value, "bookid");
            return (Criteria) this;
        }

        public Criteria andBookidLessThan(Integer value) {
            addCriterion("BOOKID <", value, "bookid");
            return (Criteria) this;
        }

        public Criteria andBookidLessThanOrEqualTo(Integer value) {
            addCriterion("BOOKID <=", value, "bookid");
            return (Criteria) this;
        }

        public Criteria andBookidIn(List<Integer> values) {
            addCriterion("BOOKID in", values, "bookid");
            return (Criteria) this;
        }

        public Criteria andBookidNotIn(List<Integer> values) {
            addCriterion("BOOKID not in", values, "bookid");
            return (Criteria) this;
        }

        public Criteria andBookidBetween(Integer value1, Integer value2) {
            addCriterion("BOOKID between", value1, value2, "bookid");
            return (Criteria) this;
        }

        public Criteria andBookidNotBetween(Integer value1, Integer value2) {
            addCriterion("BOOKID not between", value1, value2, "bookid");
            return (Criteria) this;
        }

        public Criteria andBooktypeidIsNull() {
            addCriterion("BOOKTYPEID is null");
            return (Criteria) this;
        }

        public Criteria andBooktypeidIsNotNull() {
            addCriterion("BOOKTYPEID is not null");
            return (Criteria) this;
        }

        public Criteria andBooktypeidEqualTo(Integer value) {
            addCriterion("BOOKTYPEID =", value, "booktypeid");
            return (Criteria) this;
        }

        public Criteria andBooktypeidNotEqualTo(Integer value) {
            addCriterion("BOOKTYPEID <>", value, "booktypeid");
            return (Criteria) this;
        }

        public Criteria andBooktypeidGreaterThan(Integer value) {
            addCriterion("BOOKTYPEID >", value, "booktypeid");
            return (Criteria) this;
        }

        public Criteria andBooktypeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("BOOKTYPEID >=", value, "booktypeid");
            return (Criteria) this;
        }

        public Criteria andBooktypeidLessThan(Integer value) {
            addCriterion("BOOKTYPEID <", value, "booktypeid");
            return (Criteria) this;
        }

        public Criteria andBooktypeidLessThanOrEqualTo(Integer value) {
            addCriterion("BOOKTYPEID <=", value, "booktypeid");
            return (Criteria) this;
        }

        public Criteria andBooktypeidIn(List<Integer> values) {
            addCriterion("BOOKTYPEID in", values, "booktypeid");
            return (Criteria) this;
        }

        public Criteria andBooktypeidNotIn(List<Integer> values) {
            addCriterion("BOOKTYPEID not in", values, "booktypeid");
            return (Criteria) this;
        }

        public Criteria andBooktypeidBetween(Integer value1, Integer value2) {
            addCriterion("BOOKTYPEID between", value1, value2, "booktypeid");
            return (Criteria) this;
        }

        public Criteria andBooktypeidNotBetween(Integer value1, Integer value2) {
            addCriterion("BOOKTYPEID not between", value1, value2, "booktypeid");
            return (Criteria) this;
        }

        public Criteria andItemtypeIsNull() {
            addCriterion("ITEMTYPE is null");
            return (Criteria) this;
        }

        public Criteria andItemtypeIsNotNull() {
            addCriterion("ITEMTYPE is not null");
            return (Criteria) this;
        }

        public Criteria andItemtypeEqualTo(Byte value) {
            addCriterion("ITEMTYPE =", value, "itemtype");
            return (Criteria) this;
        }

        public Criteria andItemtypeNotEqualTo(Byte value) {
            addCriterion("ITEMTYPE <>", value, "itemtype");
            return (Criteria) this;
        }

        public Criteria andItemtypeGreaterThan(Byte value) {
            addCriterion("ITEMTYPE >", value, "itemtype");
            return (Criteria) this;
        }

        public Criteria andItemtypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("ITEMTYPE >=", value, "itemtype");
            return (Criteria) this;
        }

        public Criteria andItemtypeLessThan(Byte value) {
            addCriterion("ITEMTYPE <", value, "itemtype");
            return (Criteria) this;
        }

        public Criteria andItemtypeLessThanOrEqualTo(Byte value) {
            addCriterion("ITEMTYPE <=", value, "itemtype");
            return (Criteria) this;
        }

        public Criteria andItemtypeIn(List<Byte> values) {
            addCriterion("ITEMTYPE in", values, "itemtype");
            return (Criteria) this;
        }

        public Criteria andItemtypeNotIn(List<Byte> values) {
            addCriterion("ITEMTYPE not in", values, "itemtype");
            return (Criteria) this;
        }

        public Criteria andItemtypeBetween(Byte value1, Byte value2) {
            addCriterion("ITEMTYPE between", value1, value2, "itemtype");
            return (Criteria) this;
        }

        public Criteria andItemtypeNotBetween(Byte value1, Byte value2) {
            addCriterion("ITEMTYPE not between", value1, value2, "itemtype");
            return (Criteria) this;
        }

        public Criteria andOwneridIsNull() {
            addCriterion("OWNERID is null");
            return (Criteria) this;
        }

        public Criteria andOwneridIsNotNull() {
            addCriterion("OWNERID is not null");
            return (Criteria) this;
        }

        public Criteria andOwneridEqualTo(Integer value) {
            addCriterion("OWNERID =", value, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridNotEqualTo(Integer value) {
            addCriterion("OWNERID <>", value, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridGreaterThan(Integer value) {
            addCriterion("OWNERID >", value, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridGreaterThanOrEqualTo(Integer value) {
            addCriterion("OWNERID >=", value, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridLessThan(Integer value) {
            addCriterion("OWNERID <", value, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridLessThanOrEqualTo(Integer value) {
            addCriterion("OWNERID <=", value, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridIn(List<Integer> values) {
            addCriterion("OWNERID in", values, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridNotIn(List<Integer> values) {
            addCriterion("OWNERID not in", values, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridBetween(Integer value1, Integer value2) {
            addCriterion("OWNERID between", value1, value2, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridNotBetween(Integer value1, Integer value2) {
            addCriterion("OWNERID not between", value1, value2, "ownerid");
            return (Criteria) this;
        }

        public Criteria andBookpinzhiIsNull() {
            addCriterion("BOOKPINZHI is null");
            return (Criteria) this;
        }

        public Criteria andBookpinzhiIsNotNull() {
            addCriterion("BOOKPINZHI is not null");
            return (Criteria) this;
        }

        public Criteria andBookpinzhiEqualTo(Byte value) {
            addCriterion("BOOKPINZHI =", value, "bookpinzhi");
            return (Criteria) this;
        }

        public Criteria andBookpinzhiNotEqualTo(Byte value) {
            addCriterion("BOOKPINZHI <>", value, "bookpinzhi");
            return (Criteria) this;
        }

        public Criteria andBookpinzhiGreaterThan(Byte value) {
            addCriterion("BOOKPINZHI >", value, "bookpinzhi");
            return (Criteria) this;
        }

        public Criteria andBookpinzhiGreaterThanOrEqualTo(Byte value) {
            addCriterion("BOOKPINZHI >=", value, "bookpinzhi");
            return (Criteria) this;
        }

        public Criteria andBookpinzhiLessThan(Byte value) {
            addCriterion("BOOKPINZHI <", value, "bookpinzhi");
            return (Criteria) this;
        }

        public Criteria andBookpinzhiLessThanOrEqualTo(Byte value) {
            addCriterion("BOOKPINZHI <=", value, "bookpinzhi");
            return (Criteria) this;
        }

        public Criteria andBookpinzhiIn(List<Byte> values) {
            addCriterion("BOOKPINZHI in", values, "bookpinzhi");
            return (Criteria) this;
        }

        public Criteria andBookpinzhiNotIn(List<Byte> values) {
            addCriterion("BOOKPINZHI not in", values, "bookpinzhi");
            return (Criteria) this;
        }

        public Criteria andBookpinzhiBetween(Byte value1, Byte value2) {
            addCriterion("BOOKPINZHI between", value1, value2, "bookpinzhi");
            return (Criteria) this;
        }

        public Criteria andBookpinzhiNotBetween(Byte value1, Byte value2) {
            addCriterion("BOOKPINZHI not between", value1, value2, "bookpinzhi");
            return (Criteria) this;
        }

        public Criteria andBookpinjieIsNull() {
            addCriterion("BOOKPINJIE is null");
            return (Criteria) this;
        }

        public Criteria andBookpinjieIsNotNull() {
            addCriterion("BOOKPINJIE is not null");
            return (Criteria) this;
        }

        public Criteria andBookpinjieEqualTo(Byte value) {
            addCriterion("BOOKPINJIE =", value, "bookpinjie");
            return (Criteria) this;
        }

        public Criteria andBookpinjieNotEqualTo(Byte value) {
            addCriterion("BOOKPINJIE <>", value, "bookpinjie");
            return (Criteria) this;
        }

        public Criteria andBookpinjieGreaterThan(Byte value) {
            addCriterion("BOOKPINJIE >", value, "bookpinjie");
            return (Criteria) this;
        }

        public Criteria andBookpinjieGreaterThanOrEqualTo(Byte value) {
            addCriterion("BOOKPINJIE >=", value, "bookpinjie");
            return (Criteria) this;
        }

        public Criteria andBookpinjieLessThan(Byte value) {
            addCriterion("BOOKPINJIE <", value, "bookpinjie");
            return (Criteria) this;
        }

        public Criteria andBookpinjieLessThanOrEqualTo(Byte value) {
            addCriterion("BOOKPINJIE <=", value, "bookpinjie");
            return (Criteria) this;
        }

        public Criteria andBookpinjieIn(List<Byte> values) {
            addCriterion("BOOKPINJIE in", values, "bookpinjie");
            return (Criteria) this;
        }

        public Criteria andBookpinjieNotIn(List<Byte> values) {
            addCriterion("BOOKPINJIE not in", values, "bookpinjie");
            return (Criteria) this;
        }

        public Criteria andBookpinjieBetween(Byte value1, Byte value2) {
            addCriterion("BOOKPINJIE between", value1, value2, "bookpinjie");
            return (Criteria) this;
        }

        public Criteria andBookpinjieNotBetween(Byte value1, Byte value2) {
            addCriterion("BOOKPINJIE not between", value1, value2, "bookpinjie");
            return (Criteria) this;
        }

        public Criteria andBooklevelIsNull() {
            addCriterion("BOOKLEVEL is null");
            return (Criteria) this;
        }

        public Criteria andBooklevelIsNotNull() {
            addCriterion("BOOKLEVEL is not null");
            return (Criteria) this;
        }

        public Criteria andBooklevelEqualTo(Integer value) {
            addCriterion("BOOKLEVEL =", value, "booklevel");
            return (Criteria) this;
        }

        public Criteria andBooklevelNotEqualTo(Integer value) {
            addCriterion("BOOKLEVEL <>", value, "booklevel");
            return (Criteria) this;
        }

        public Criteria andBooklevelGreaterThan(Integer value) {
            addCriterion("BOOKLEVEL >", value, "booklevel");
            return (Criteria) this;
        }

        public Criteria andBooklevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("BOOKLEVEL >=", value, "booklevel");
            return (Criteria) this;
        }

        public Criteria andBooklevelLessThan(Integer value) {
            addCriterion("BOOKLEVEL <", value, "booklevel");
            return (Criteria) this;
        }

        public Criteria andBooklevelLessThanOrEqualTo(Integer value) {
            addCriterion("BOOKLEVEL <=", value, "booklevel");
            return (Criteria) this;
        }

        public Criteria andBooklevelIn(List<Integer> values) {
            addCriterion("BOOKLEVEL in", values, "booklevel");
            return (Criteria) this;
        }

        public Criteria andBooklevelNotIn(List<Integer> values) {
            addCriterion("BOOKLEVEL not in", values, "booklevel");
            return (Criteria) this;
        }

        public Criteria andBooklevelBetween(Integer value1, Integer value2) {
            addCriterion("BOOKLEVEL between", value1, value2, "booklevel");
            return (Criteria) this;
        }

        public Criteria andBooklevelNotBetween(Integer value1, Integer value2) {
            addCriterion("BOOKLEVEL not between", value1, value2, "booklevel");
            return (Criteria) this;
        }

        public Criteria andBooktypeIsNull() {
            addCriterion("BOOKTYPE is null");
            return (Criteria) this;
        }

        public Criteria andBooktypeIsNotNull() {
            addCriterion("BOOKTYPE is not null");
            return (Criteria) this;
        }

        public Criteria andBooktypeEqualTo(Byte value) {
            addCriterion("BOOKTYPE =", value, "booktype");
            return (Criteria) this;
        }

        public Criteria andBooktypeNotEqualTo(Byte value) {
            addCriterion("BOOKTYPE <>", value, "booktype");
            return (Criteria) this;
        }

        public Criteria andBooktypeGreaterThan(Byte value) {
            addCriterion("BOOKTYPE >", value, "booktype");
            return (Criteria) this;
        }

        public Criteria andBooktypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("BOOKTYPE >=", value, "booktype");
            return (Criteria) this;
        }

        public Criteria andBooktypeLessThan(Byte value) {
            addCriterion("BOOKTYPE <", value, "booktype");
            return (Criteria) this;
        }

        public Criteria andBooktypeLessThanOrEqualTo(Byte value) {
            addCriterion("BOOKTYPE <=", value, "booktype");
            return (Criteria) this;
        }

        public Criteria andBooktypeIn(List<Byte> values) {
            addCriterion("BOOKTYPE in", values, "booktype");
            return (Criteria) this;
        }

        public Criteria andBooktypeNotIn(List<Byte> values) {
            addCriterion("BOOKTYPE not in", values, "booktype");
            return (Criteria) this;
        }

        public Criteria andBooktypeBetween(Byte value1, Byte value2) {
            addCriterion("BOOKTYPE between", value1, value2, "booktype");
            return (Criteria) this;
        }

        public Criteria andBooktypeNotBetween(Byte value1, Byte value2) {
            addCriterion("BOOKTYPE not between", value1, value2, "booktype");
            return (Criteria) this;
        }

        public Criteria andBooklocationIsNull() {
            addCriterion("BOOKLOCATION is null");
            return (Criteria) this;
        }

        public Criteria andBooklocationIsNotNull() {
            addCriterion("BOOKLOCATION is not null");
            return (Criteria) this;
        }

        public Criteria andBooklocationEqualTo(Byte value) {
            addCriterion("BOOKLOCATION =", value, "booklocation");
            return (Criteria) this;
        }

        public Criteria andBooklocationNotEqualTo(Byte value) {
            addCriterion("BOOKLOCATION <>", value, "booklocation");
            return (Criteria) this;
        }

        public Criteria andBooklocationGreaterThan(Byte value) {
            addCriterion("BOOKLOCATION >", value, "booklocation");
            return (Criteria) this;
        }

        public Criteria andBooklocationGreaterThanOrEqualTo(Byte value) {
            addCriterion("BOOKLOCATION >=", value, "booklocation");
            return (Criteria) this;
        }

        public Criteria andBooklocationLessThan(Byte value) {
            addCriterion("BOOKLOCATION <", value, "booklocation");
            return (Criteria) this;
        }

        public Criteria andBooklocationLessThanOrEqualTo(Byte value) {
            addCriterion("BOOKLOCATION <=", value, "booklocation");
            return (Criteria) this;
        }

        public Criteria andBooklocationIn(List<Byte> values) {
            addCriterion("BOOKLOCATION in", values, "booklocation");
            return (Criteria) this;
        }

        public Criteria andBooklocationNotIn(List<Byte> values) {
            addCriterion("BOOKLOCATION not in", values, "booklocation");
            return (Criteria) this;
        }

        public Criteria andBooklocationBetween(Byte value1, Byte value2) {
            addCriterion("BOOKLOCATION between", value1, value2, "booklocation");
            return (Criteria) this;
        }

        public Criteria andBooklocationNotBetween(Byte value1, Byte value2) {
            addCriterion("BOOKLOCATION not between", value1, value2, "booklocation");
            return (Criteria) this;
        }

        public Criteria andBooktimeoutIsNull() {
            addCriterion("BOOKTIMEOUT is null");
            return (Criteria) this;
        }

        public Criteria andBooktimeoutIsNotNull() {
            addCriterion("BOOKTIMEOUT is not null");
            return (Criteria) this;
        }

        public Criteria andBooktimeoutEqualTo(Long value) {
            addCriterion("BOOKTIMEOUT =", value, "booktimeout");
            return (Criteria) this;
        }

        public Criteria andBooktimeoutNotEqualTo(Long value) {
            addCriterion("BOOKTIMEOUT <>", value, "booktimeout");
            return (Criteria) this;
        }

        public Criteria andBooktimeoutGreaterThan(Long value) {
            addCriterion("BOOKTIMEOUT >", value, "booktimeout");
            return (Criteria) this;
        }

        public Criteria andBooktimeoutGreaterThanOrEqualTo(Long value) {
            addCriterion("BOOKTIMEOUT >=", value, "booktimeout");
            return (Criteria) this;
        }

        public Criteria andBooktimeoutLessThan(Long value) {
            addCriterion("BOOKTIMEOUT <", value, "booktimeout");
            return (Criteria) this;
        }

        public Criteria andBooktimeoutLessThanOrEqualTo(Long value) {
            addCriterion("BOOKTIMEOUT <=", value, "booktimeout");
            return (Criteria) this;
        }

        public Criteria andBooktimeoutIn(List<Long> values) {
            addCriterion("BOOKTIMEOUT in", values, "booktimeout");
            return (Criteria) this;
        }

        public Criteria andBooktimeoutNotIn(List<Long> values) {
            addCriterion("BOOKTIMEOUT not in", values, "booktimeout");
            return (Criteria) this;
        }

        public Criteria andBooktimeoutBetween(Long value1, Long value2) {
            addCriterion("BOOKTIMEOUT between", value1, value2, "booktimeout");
            return (Criteria) this;
        }

        public Criteria andBooktimeoutNotBetween(Long value1, Long value2) {
            addCriterion("BOOKTIMEOUT not between", value1, value2, "booktimeout");
            return (Criteria) this;
        }

        public Criteria andBookpriceIsNull() {
            addCriterion("BOOKPRICE is null");
            return (Criteria) this;
        }

        public Criteria andBookpriceIsNotNull() {
            addCriterion("BOOKPRICE is not null");
            return (Criteria) this;
        }

        public Criteria andBookpriceEqualTo(Integer value) {
            addCriterion("BOOKPRICE =", value, "bookprice");
            return (Criteria) this;
        }

        public Criteria andBookpriceNotEqualTo(Integer value) {
            addCriterion("BOOKPRICE <>", value, "bookprice");
            return (Criteria) this;
        }

        public Criteria andBookpriceGreaterThan(Integer value) {
            addCriterion("BOOKPRICE >", value, "bookprice");
            return (Criteria) this;
        }

        public Criteria andBookpriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("BOOKPRICE >=", value, "bookprice");
            return (Criteria) this;
        }

        public Criteria andBookpriceLessThan(Integer value) {
            addCriterion("BOOKPRICE <", value, "bookprice");
            return (Criteria) this;
        }

        public Criteria andBookpriceLessThanOrEqualTo(Integer value) {
            addCriterion("BOOKPRICE <=", value, "bookprice");
            return (Criteria) this;
        }

        public Criteria andBookpriceIn(List<Integer> values) {
            addCriterion("BOOKPRICE in", values, "bookprice");
            return (Criteria) this;
        }

        public Criteria andBookpriceNotIn(List<Integer> values) {
            addCriterion("BOOKPRICE not in", values, "bookprice");
            return (Criteria) this;
        }

        public Criteria andBookpriceBetween(Integer value1, Integer value2) {
            addCriterion("BOOKPRICE between", value1, value2, "bookprice");
            return (Criteria) this;
        }

        public Criteria andBookpriceNotBetween(Integer value1, Integer value2) {
            addCriterion("BOOKPRICE not between", value1, value2, "bookprice");
            return (Criteria) this;
        }

        public Criteria andBookshowbagIsNull() {
            addCriterion("BOOKSHOWBAG is null");
            return (Criteria) this;
        }

        public Criteria andBookshowbagIsNotNull() {
            addCriterion("BOOKSHOWBAG is not null");
            return (Criteria) this;
        }

        public Criteria andBookshowbagEqualTo(Boolean value) {
            addCriterion("BOOKSHOWBAG =", value, "bookshowbag");
            return (Criteria) this;
        }

        public Criteria andBookshowbagNotEqualTo(Boolean value) {
            addCriterion("BOOKSHOWBAG <>", value, "bookshowbag");
            return (Criteria) this;
        }

        public Criteria andBookshowbagGreaterThan(Boolean value) {
            addCriterion("BOOKSHOWBAG >", value, "bookshowbag");
            return (Criteria) this;
        }

        public Criteria andBookshowbagGreaterThanOrEqualTo(Boolean value) {
            addCriterion("BOOKSHOWBAG >=", value, "bookshowbag");
            return (Criteria) this;
        }

        public Criteria andBookshowbagLessThan(Boolean value) {
            addCriterion("BOOKSHOWBAG <", value, "bookshowbag");
            return (Criteria) this;
        }

        public Criteria andBookshowbagLessThanOrEqualTo(Boolean value) {
            addCriterion("BOOKSHOWBAG <=", value, "bookshowbag");
            return (Criteria) this;
        }

        public Criteria andBookshowbagIn(List<Boolean> values) {
            addCriterion("BOOKSHOWBAG in", values, "bookshowbag");
            return (Criteria) this;
        }

        public Criteria andBookshowbagNotIn(List<Boolean> values) {
            addCriterion("BOOKSHOWBAG not in", values, "bookshowbag");
            return (Criteria) this;
        }

        public Criteria andBookshowbagBetween(Boolean value1, Boolean value2) {
            addCriterion("BOOKSHOWBAG between", value1, value2, "bookshowbag");
            return (Criteria) this;
        }

        public Criteria andBookshowbagNotBetween(Boolean value1, Boolean value2) {
            addCriterion("BOOKSHOWBAG not between", value1, value2, "bookshowbag");
            return (Criteria) this;
        }

        public Criteria andBookpinjieexpIsNull() {
            addCriterion("BOOKPINJIEEXP is null");
            return (Criteria) this;
        }

        public Criteria andBookpinjieexpIsNotNull() {
            addCriterion("BOOKPINJIEEXP is not null");
            return (Criteria) this;
        }

        public Criteria andBookpinjieexpEqualTo(Integer value) {
            addCriterion("BOOKPINJIEEXP =", value, "bookpinjieexp");
            return (Criteria) this;
        }

        public Criteria andBookpinjieexpNotEqualTo(Integer value) {
            addCriterion("BOOKPINJIEEXP <>", value, "bookpinjieexp");
            return (Criteria) this;
        }

        public Criteria andBookpinjieexpGreaterThan(Integer value) {
            addCriterion("BOOKPINJIEEXP >", value, "bookpinjieexp");
            return (Criteria) this;
        }

        public Criteria andBookpinjieexpGreaterThanOrEqualTo(Integer value) {
            addCriterion("BOOKPINJIEEXP >=", value, "bookpinjieexp");
            return (Criteria) this;
        }

        public Criteria andBookpinjieexpLessThan(Integer value) {
            addCriterion("BOOKPINJIEEXP <", value, "bookpinjieexp");
            return (Criteria) this;
        }

        public Criteria andBookpinjieexpLessThanOrEqualTo(Integer value) {
            addCriterion("BOOKPINJIEEXP <=", value, "bookpinjieexp");
            return (Criteria) this;
        }

        public Criteria andBookpinjieexpIn(List<Integer> values) {
            addCriterion("BOOKPINJIEEXP in", values, "bookpinjieexp");
            return (Criteria) this;
        }

        public Criteria andBookpinjieexpNotIn(List<Integer> values) {
            addCriterion("BOOKPINJIEEXP not in", values, "bookpinjieexp");
            return (Criteria) this;
        }

        public Criteria andBookpinjieexpBetween(Integer value1, Integer value2) {
            addCriterion("BOOKPINJIEEXP between", value1, value2, "bookpinjieexp");
            return (Criteria) this;
        }

        public Criteria andBookpinjieexpNotBetween(Integer value1, Integer value2) {
            addCriterion("BOOKPINJIEEXP not between", value1, value2, "bookpinjieexp");
            return (Criteria) this;
        }

        public Criteria andBooksuccessusetimesIsNull() {
            addCriterion("BOOKSUCCESSUSETIMES is null");
            return (Criteria) this;
        }

        public Criteria andBooksuccessusetimesIsNotNull() {
            addCriterion("BOOKSUCCESSUSETIMES is not null");
            return (Criteria) this;
        }

        public Criteria andBooksuccessusetimesEqualTo(Integer value) {
            addCriterion("BOOKSUCCESSUSETIMES =", value, "booksuccessusetimes");
            return (Criteria) this;
        }

        public Criteria andBooksuccessusetimesNotEqualTo(Integer value) {
            addCriterion("BOOKSUCCESSUSETIMES <>", value, "booksuccessusetimes");
            return (Criteria) this;
        }

        public Criteria andBooksuccessusetimesGreaterThan(Integer value) {
            addCriterion("BOOKSUCCESSUSETIMES >", value, "booksuccessusetimes");
            return (Criteria) this;
        }

        public Criteria andBooksuccessusetimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("BOOKSUCCESSUSETIMES >=", value, "booksuccessusetimes");
            return (Criteria) this;
        }

        public Criteria andBooksuccessusetimesLessThan(Integer value) {
            addCriterion("BOOKSUCCESSUSETIMES <", value, "booksuccessusetimes");
            return (Criteria) this;
        }

        public Criteria andBooksuccessusetimesLessThanOrEqualTo(Integer value) {
            addCriterion("BOOKSUCCESSUSETIMES <=", value, "booksuccessusetimes");
            return (Criteria) this;
        }

        public Criteria andBooksuccessusetimesIn(List<Integer> values) {
            addCriterion("BOOKSUCCESSUSETIMES in", values, "booksuccessusetimes");
            return (Criteria) this;
        }

        public Criteria andBooksuccessusetimesNotIn(List<Integer> values) {
            addCriterion("BOOKSUCCESSUSETIMES not in", values, "booksuccessusetimes");
            return (Criteria) this;
        }

        public Criteria andBooksuccessusetimesBetween(Integer value1, Integer value2) {
            addCriterion("BOOKSUCCESSUSETIMES between", value1, value2, "booksuccessusetimes");
            return (Criteria) this;
        }

        public Criteria andBooksuccessusetimesNotBetween(Integer value1, Integer value2) {
            addCriterion("BOOKSUCCESSUSETIMES not between", value1, value2, "booksuccessusetimes");
            return (Criteria) this;
        }

        public Criteria andEffectnum1IsNull() {
            addCriterion("EFFECTNUM1 is null");
            return (Criteria) this;
        }

        public Criteria andEffectnum1IsNotNull() {
            addCriterion("EFFECTNUM1 is not null");
            return (Criteria) this;
        }

        public Criteria andEffectnum1EqualTo(Double value) {
            addCriterion("EFFECTNUM1 =", value, "effectnum1");
            return (Criteria) this;
        }

        public Criteria andEffectnum1NotEqualTo(Double value) {
            addCriterion("EFFECTNUM1 <>", value, "effectnum1");
            return (Criteria) this;
        }

        public Criteria andEffectnum1GreaterThan(Double value) {
            addCriterion("EFFECTNUM1 >", value, "effectnum1");
            return (Criteria) this;
        }

        public Criteria andEffectnum1GreaterThanOrEqualTo(Double value) {
            addCriterion("EFFECTNUM1 >=", value, "effectnum1");
            return (Criteria) this;
        }

        public Criteria andEffectnum1LessThan(Double value) {
            addCriterion("EFFECTNUM1 <", value, "effectnum1");
            return (Criteria) this;
        }

        public Criteria andEffectnum1LessThanOrEqualTo(Double value) {
            addCriterion("EFFECTNUM1 <=", value, "effectnum1");
            return (Criteria) this;
        }

        public Criteria andEffectnum1In(List<Double> values) {
            addCriterion("EFFECTNUM1 in", values, "effectnum1");
            return (Criteria) this;
        }

        public Criteria andEffectnum1NotIn(List<Double> values) {
            addCriterion("EFFECTNUM1 not in", values, "effectnum1");
            return (Criteria) this;
        }

        public Criteria andEffectnum1Between(Double value1, Double value2) {
            addCriterion("EFFECTNUM1 between", value1, value2, "effectnum1");
            return (Criteria) this;
        }

        public Criteria andEffectnum1NotBetween(Double value1, Double value2) {
            addCriterion("EFFECTNUM1 not between", value1, value2, "effectnum1");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup1IsNull() {
            addCriterion("EFFECTNUMGROWUP1 is null");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup1IsNotNull() {
            addCriterion("EFFECTNUMGROWUP1 is not null");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup1EqualTo(Double value) {
            addCriterion("EFFECTNUMGROWUP1 =", value, "effectnumgrowup1");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup1NotEqualTo(Double value) {
            addCriterion("EFFECTNUMGROWUP1 <>", value, "effectnumgrowup1");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup1GreaterThan(Double value) {
            addCriterion("EFFECTNUMGROWUP1 >", value, "effectnumgrowup1");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup1GreaterThanOrEqualTo(Double value) {
            addCriterion("EFFECTNUMGROWUP1 >=", value, "effectnumgrowup1");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup1LessThan(Double value) {
            addCriterion("EFFECTNUMGROWUP1 <", value, "effectnumgrowup1");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup1LessThanOrEqualTo(Double value) {
            addCriterion("EFFECTNUMGROWUP1 <=", value, "effectnumgrowup1");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup1In(List<Double> values) {
            addCriterion("EFFECTNUMGROWUP1 in", values, "effectnumgrowup1");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup1NotIn(List<Double> values) {
            addCriterion("EFFECTNUMGROWUP1 not in", values, "effectnumgrowup1");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup1Between(Double value1, Double value2) {
            addCriterion("EFFECTNUMGROWUP1 between", value1, value2, "effectnumgrowup1");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup1NotBetween(Double value1, Double value2) {
            addCriterion("EFFECTNUMGROWUP1 not between", value1, value2, "effectnumgrowup1");
            return (Criteria) this;
        }

        public Criteria andEffectnum2IsNull() {
            addCriterion("EFFECTNUM2 is null");
            return (Criteria) this;
        }

        public Criteria andEffectnum2IsNotNull() {
            addCriterion("EFFECTNUM2 is not null");
            return (Criteria) this;
        }

        public Criteria andEffectnum2EqualTo(Double value) {
            addCriterion("EFFECTNUM2 =", value, "effectnum2");
            return (Criteria) this;
        }

        public Criteria andEffectnum2NotEqualTo(Double value) {
            addCriterion("EFFECTNUM2 <>", value, "effectnum2");
            return (Criteria) this;
        }

        public Criteria andEffectnum2GreaterThan(Double value) {
            addCriterion("EFFECTNUM2 >", value, "effectnum2");
            return (Criteria) this;
        }

        public Criteria andEffectnum2GreaterThanOrEqualTo(Double value) {
            addCriterion("EFFECTNUM2 >=", value, "effectnum2");
            return (Criteria) this;
        }

        public Criteria andEffectnum2LessThan(Double value) {
            addCriterion("EFFECTNUM2 <", value, "effectnum2");
            return (Criteria) this;
        }

        public Criteria andEffectnum2LessThanOrEqualTo(Double value) {
            addCriterion("EFFECTNUM2 <=", value, "effectnum2");
            return (Criteria) this;
        }

        public Criteria andEffectnum2In(List<Double> values) {
            addCriterion("EFFECTNUM2 in", values, "effectnum2");
            return (Criteria) this;
        }

        public Criteria andEffectnum2NotIn(List<Double> values) {
            addCriterion("EFFECTNUM2 not in", values, "effectnum2");
            return (Criteria) this;
        }

        public Criteria andEffectnum2Between(Double value1, Double value2) {
            addCriterion("EFFECTNUM2 between", value1, value2, "effectnum2");
            return (Criteria) this;
        }

        public Criteria andEffectnum2NotBetween(Double value1, Double value2) {
            addCriterion("EFFECTNUM2 not between", value1, value2, "effectnum2");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup2IsNull() {
            addCriterion("EFFECTNUMGROWUP2 is null");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup2IsNotNull() {
            addCriterion("EFFECTNUMGROWUP2 is not null");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup2EqualTo(Double value) {
            addCriterion("EFFECTNUMGROWUP2 =", value, "effectnumgrowup2");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup2NotEqualTo(Double value) {
            addCriterion("EFFECTNUMGROWUP2 <>", value, "effectnumgrowup2");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup2GreaterThan(Double value) {
            addCriterion("EFFECTNUMGROWUP2 >", value, "effectnumgrowup2");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup2GreaterThanOrEqualTo(Double value) {
            addCriterion("EFFECTNUMGROWUP2 >=", value, "effectnumgrowup2");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup2LessThan(Double value) {
            addCriterion("EFFECTNUMGROWUP2 <", value, "effectnumgrowup2");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup2LessThanOrEqualTo(Double value) {
            addCriterion("EFFECTNUMGROWUP2 <=", value, "effectnumgrowup2");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup2In(List<Double> values) {
            addCriterion("EFFECTNUMGROWUP2 in", values, "effectnumgrowup2");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup2NotIn(List<Double> values) {
            addCriterion("EFFECTNUMGROWUP2 not in", values, "effectnumgrowup2");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup2Between(Double value1, Double value2) {
            addCriterion("EFFECTNUMGROWUP2 between", value1, value2, "effectnumgrowup2");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup2NotBetween(Double value1, Double value2) {
            addCriterion("EFFECTNUMGROWUP2 not between", value1, value2, "effectnumgrowup2");
            return (Criteria) this;
        }

        public Criteria andEffectnum3IsNull() {
            addCriterion("EFFECTNUM3 is null");
            return (Criteria) this;
        }

        public Criteria andEffectnum3IsNotNull() {
            addCriterion("EFFECTNUM3 is not null");
            return (Criteria) this;
        }

        public Criteria andEffectnum3EqualTo(Double value) {
            addCriterion("EFFECTNUM3 =", value, "effectnum3");
            return (Criteria) this;
        }

        public Criteria andEffectnum3NotEqualTo(Double value) {
            addCriterion("EFFECTNUM3 <>", value, "effectnum3");
            return (Criteria) this;
        }

        public Criteria andEffectnum3GreaterThan(Double value) {
            addCriterion("EFFECTNUM3 >", value, "effectnum3");
            return (Criteria) this;
        }

        public Criteria andEffectnum3GreaterThanOrEqualTo(Double value) {
            addCriterion("EFFECTNUM3 >=", value, "effectnum3");
            return (Criteria) this;
        }

        public Criteria andEffectnum3LessThan(Double value) {
            addCriterion("EFFECTNUM3 <", value, "effectnum3");
            return (Criteria) this;
        }

        public Criteria andEffectnum3LessThanOrEqualTo(Double value) {
            addCriterion("EFFECTNUM3 <=", value, "effectnum3");
            return (Criteria) this;
        }

        public Criteria andEffectnum3In(List<Double> values) {
            addCriterion("EFFECTNUM3 in", values, "effectnum3");
            return (Criteria) this;
        }

        public Criteria andEffectnum3NotIn(List<Double> values) {
            addCriterion("EFFECTNUM3 not in", values, "effectnum3");
            return (Criteria) this;
        }

        public Criteria andEffectnum3Between(Double value1, Double value2) {
            addCriterion("EFFECTNUM3 between", value1, value2, "effectnum3");
            return (Criteria) this;
        }

        public Criteria andEffectnum3NotBetween(Double value1, Double value2) {
            addCriterion("EFFECTNUM3 not between", value1, value2, "effectnum3");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup3IsNull() {
            addCriterion("EFFECTNUMGROWUP3 is null");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup3IsNotNull() {
            addCriterion("EFFECTNUMGROWUP3 is not null");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup3EqualTo(Double value) {
            addCriterion("EFFECTNUMGROWUP3 =", value, "effectnumgrowup3");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup3NotEqualTo(Double value) {
            addCriterion("EFFECTNUMGROWUP3 <>", value, "effectnumgrowup3");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup3GreaterThan(Double value) {
            addCriterion("EFFECTNUMGROWUP3 >", value, "effectnumgrowup3");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup3GreaterThanOrEqualTo(Double value) {
            addCriterion("EFFECTNUMGROWUP3 >=", value, "effectnumgrowup3");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup3LessThan(Double value) {
            addCriterion("EFFECTNUMGROWUP3 <", value, "effectnumgrowup3");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup3LessThanOrEqualTo(Double value) {
            addCriterion("EFFECTNUMGROWUP3 <=", value, "effectnumgrowup3");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup3In(List<Double> values) {
            addCriterion("EFFECTNUMGROWUP3 in", values, "effectnumgrowup3");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup3NotIn(List<Double> values) {
            addCriterion("EFFECTNUMGROWUP3 not in", values, "effectnumgrowup3");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup3Between(Double value1, Double value2) {
            addCriterion("EFFECTNUMGROWUP3 between", value1, value2, "effectnumgrowup3");
            return (Criteria) this;
        }

        public Criteria andEffectnumgrowup3NotBetween(Double value1, Double value2) {
            addCriterion("EFFECTNUMGROWUP3 not between", value1, value2, "effectnumgrowup3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}